import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 前纺计划
 * */
// 创建
export const qslProductionCreate = (data) => postRequest('/qsl/production/create', data);

// 更新
export const qslProductionUpdate = (data) => putRequest('/qsl/production/update', data);

// 删除
export const qslProductionDelete = (params) => deleteRequest('/qsl/production/delete', params);

// 获得
export const qslProductionGet = (params) => getRequest('/qsl/production/get', params);

// 获得分页
export const qslProductionPage = (params) => postRequest('/qsl/production/page', params);
// 状态条数
export const qslProductionGetStateCount = (params) => getRequest('/qsl/production/get-state-count', params);

export const qslProductionRelease = (params) => postRequest('/qsl/production/release', params);
export const qslProductionClearRelease = (params) => postRequest('/qsl/production/clear-release', params);

export const qslProductionComplete = (data) => postRequest('/qsl/production/complete', data);
export const qslProductionClearComplete = (data) => postRequest('/qsl/production/clear-complete', data);
